IApi.Destroy method

Closes the link to the KINGSTAR Subsystem and terminates the Subsystem.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsError Destroy()
Function Destroy() As KsError

Return value

Type: KsError

A return code of a method.

Remarks

Destroy closes the application’s link to the KINGSTAR Subsystem and if no process are connected, the Subsystem is stopped. This must be the last KINGSTAR method in an application.

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace